/*
    SDL - Simple DirectMedia Layer
    Partial implementation of SDL library (originally written by
    Sam Lantinga <slouken@libsdl.org>) for the particular purpose to support
    Prequengine (http://code.google.com/p/prequengine/) on BlackBerry(tm)
    tablets and smartphones.

    Copyright (C) 2013  xlamsp

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

    xlamsp@gmail.com
*/

#ifndef SDL_STDINC_H_
#define SDL_STDINC_H_

#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <memory.h>
#include <unistd.h>
#include <time.h>

#include "SDL_config.h"

/** @name Basic data types */
/*@{*/
typedef enum {
    SDL_FALSE = 0,
    SDL_TRUE  = 1
} SDL_bool;

typedef int8_t          Sint8;
typedef uint8_t         Uint8;
typedef int16_t         Sint16;
typedef uint16_t        Uint16;
typedef int32_t         Sint32;
typedef uint32_t        Uint32;
typedef int64_t         Sint64;
typedef uint64_t        Uint64;
/*@}*/

#define SDL_malloc      malloc
#define SDL_calloc      calloc
#define SDL_realloc     realloc
#define SDL_free        free
#define SDL_memcpy      memcpy
#define SDL_memset      memset
#define SDL_strcasecmp  strcasecmp
#define SDL_vsnprintf   vsnprintf

#endif /* SDL_STDINC_H_ */

